import hoverNode from './hover-node'
import addEdge from './add-edge'
import hoverEdge from './hover-edge'

const behaviorList = {
    'hover-node': hoverNode,
    'add-edge': addEdge,
    'hover-edge': hoverEdge
}

export default function initBehavior (G6) {
    for (const key in behaviorList) {
        G6.registerBehavior(key, behaviorList[key])
    }
}
